package com.ruoyi.ring.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 减压助眠频次对象 az_ring_relax_frequency
 *
 * @author liuwp
 * @date 2025-10-22
 */
@Data
public class RingRelaxFrequency extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 分钟 */
    @Excel(name = "分钟")
    private Long minutes;

    /** 频次 */
    @Excel(name = "频次")
    private Long frequency;

    /** 类型 */
    @Excel(name = "类型", dictType = "az_relax_type_zh")
    private String relaxType;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("minutes", getMinutes())
                .append("frequency", getFrequency())
                .append("relaxType", getRelaxType())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
